package com.lzh.common.ex;

import java.util.Map;

/**
 * 数据库异常
 */
public class DatabaseException extends RuntimeException {

    Map<String, String> errorMap;

    public DatabaseException(Map error) {
        super("数据库异常");
        this.errorMap = error;
    }

    public Map<String, String> getErrorMap() {
        return errorMap;
    }
}
